<template>
  <div>
    <!-- <el-upload class="upload-demo" :before-upload="beforeUpload" action="https://jsonplaceholder.typicode.com/posts/">
      <el-button size="small" id="upload" type="primary">点击上传</el-button>
      <div slot="tip" class="el-upload__tip">只能上传jpg/png文件，且不超过500kb</div>
    </el-upload> -->
    <!-- <input type="file" :value="fileValue" id="upload" v-show="false"> -->
  </div>
</template>

<script>
  import ala from 'ala'
  export default {
    data () {
      return {
        fileValue: ''
      }
    },
    methods: {
      open (image) {
        var upload = new FormData()
        // document.getElementById('upload').click()
        this.fileValue = image
      }
    }
  }
</script>

<style lang="scss" scoped>
</style>
